home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Mail
/
pine3.92
/
pine
/
osdep
/
creatdir.dos
< prev
next >
Wrap
Text File
|
1993-07-15
|
342b
|
16 lines
/*----------------------------------------------------------------------
Create the mail subdirectory.
Args: dir -- Name of the directory to create
Result: Directory is created. Returns 0 on success, else -1 on error
and errno is valid.
----*/
create_mail_dir(dir)
char *dir;
{
return((mkdir(dir) < 0) ? -1 : 0);
}